package com.ruoyi.system.domain.supe;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class Substation {

    private static final long serialVersionUID = 1L;

    /** 分站ID */
    private Long substationId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门 */
    @Excel(name = "部门")
    private Long deptId;

    public void setSubstationId(Long substationId)
    {
        this.substationId = substationId;
    }

    public Long getSubstationId()
    {
        return substationId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("substationId", getSubstationId())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .toString();
    }
}
